package cn.dhnep.demo.mapper;

import cn.dhnep.demo.pojo.Horseman;
import cn.dhnep.demo.pojo.Merchant;
import cn.dhnep.demo.util.Page;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dhn
 * @since 2021-09-06
 */
public interface MerchantMapper extends BaseMapper<Merchant> {


    //商家查询分页数据
    List<Merchant> selectPageList(Page page);
    //商家分页数据总数
    Integer selectPageCount(Page page);

    //新增商户
    int merchantAdd(Merchant merchant);

}
